﻿@using ClassCommon

<div class="conRight col-lg-2 col-md-3 col-sm-12">
    <p>
        <select class="helpDoc" name="helpDoc">
            <option value="">排课遇到难题</option>
            <option class="helpOption" value="/static/NewPages/doc.html">帮助文档</option>
        </select>
    </p>
    <div class="CRB">
        <input type="button" id="" onclick="window.open('/static/NewPages/doc.html')" value="使用技巧" />
        @*<input type="button" id="onlineServices"  />*@
        <a id="helpLink" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=@(ConfigSetting.Services_QQ)&site=qq&menu=yes">
            @* <img border="0" src="http://wpa.qq.com/pa?p=2:313170771:52" alt="点击这里给我发消息" title="点击这里给我发消息" />*@在线客服</a>

    </div>
</div>

<style type="text/css">
    #helpLink {
        margin-top: -10px;
        width: 110px;
        height: 50px;
        line-height: 50px;
        display: inline-block;
        text-decoration: none;
        text-align: center;
        background-color: #1681c4;
        color: white;
        border-radius: 5px;
        font-size: 17px;
    }

        #helpLink:hover {
            color: white;
            text-decoration: none;
        }
</style>

<script type="text/javascript">
    $(function () {
        $(".helpDoc").on("change", function () {
            var href = $(this).val();
            if (href != "") {
                window.open(href);
            }
        });

        // 在线服务
        $("#onlineServices").on("click", function () {
            showSuccess("正在开发中，敬请期待!");
        })
    })
</script>
